package com.student.dong.service;

import com.student.dong.entity.AlgsEvaluate;
import com.student.dong.vo.CurriculaVaribleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Program: animalSystem->IEvaluateService
 * @Description:
 * @Author: donghang
 * @Date: 2023-03-23 15:09
 * @Version： 1.0
 **/
public interface IEvaluateService {

    int deleteByPrimaryKey(Long id);

    int insert(AlgsEvaluate record);

    int insertSelective(AlgsEvaluate record);

    AlgsEvaluate selKey(@Param("studentId") Long studentId,@Param("teacherId") Long teacherId,@Param("curriculaVaribleId")Long curriculaVaribleId);

    AlgsEvaluate selectByPrimaryKey(Long id);

    List<CurriculaVaribleVo> selHomeWork(@Param("userId") Long userId);

    CurriculaVaribleVo selOne(@Param("curriculaVaribleId")Long curriculaVaribleId,@Param("studentId")Long studentId);

    int updateByPrimaryKeySelective(AlgsEvaluate record);

    int updateByPrimaryKey(AlgsEvaluate record);

    AlgsEvaluate selectByStudentId(@Param("studentId")Integer studentId,@Param("curriculaVaribleId")Long curriculaVaribleId);

}
